package xyz.lwm.lazycat.netpipe.setting;

import lombok.Data;
import xyz.lwm.lazycat.annotation.Bean;
import xyz.lwm.lazycat.annotation.SettingPrefix;

/**
 * Netpipe 服务设置
 *
 * @author lwm
 */
@Bean
@Data
@SettingPrefix("netpipe.server")
public class NetpipeServerSetting {

    /**
     * Netpipe 服务监听地址, 默认 0.0.0.0 , 表示所有地址均可访问服务
     */
    private String host = "0.0.0.0";

    /**
     * Netpipe 服务监听端口
     */
    private int port = 9981;

}
